package com.yanggu.scala.chapater04

object DoWhileDemo01 {

  def main(args: Array[String]): Unit = {
    //使用do while循环, 输出10次"hello, 尚硅谷"
    var i = 0
    do {
      println("Hello, 尚硅谷")
      i += 1
    } while (i < 10)
  }

}
